package com.huike.clues.mapper;

import com.huike.clues.domain.TbRulePool;
import org.apache.ibatis.annotations.Mapper;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: wwq
 * @Date: 2023/07/13/8:43
 * @Description:
 */
@Mapper
public interface TbRulePoolMapper {

    /**
     * 通过type查询规则
     *
     * @param type
     * @return
     */
    TbRulePool getRule(String type);

    int update(TbRulePool rulePool);
}
